package com.wust.vo;

import java.util.Date;

/**
 * Created by lenovo on 2018/6/13.
 */
public class HeartRateVo {
    //用户id
    private Integer userId;
    //平均值
    private int average;
    //方差
    private double variance;
    //30条心率值
    private String heartRateValue;
    //结束时间
    private Date beginTime;
    //开始时间
    private Date endTime;
    //时长
    private Double hour;
    //方差变化趋势 0-下降，1-平稳，2-上升
    private int Vtrend;
    //均值变化趋势 0-下降，1-平稳，2-上升
    private int Atrend;
    //均值合格率
    private int Arate;
    //状态Id
    private int statusId;
    //给出的建议
    private String suggestion;

    public HeartRateVo() {
    }

    public HeartRateVo(Integer userId, int average, double variance, String heartRateValue, Date beginTime, Date endTime, Double hour, int vtrend, int atrend, int arate, int statusId, String suggestion) {
        this.userId = userId;
        this.average = average;
        this.variance = variance;
        this.heartRateValue = heartRateValue;
        this.beginTime = beginTime;
        this.endTime = endTime;
        this.hour = hour;
        Vtrend = vtrend;
        Atrend = atrend;
        Arate = arate;
        this.statusId = statusId;
        this.suggestion = suggestion;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public int getAverage() {
        return average;
    }

    public void setAverage(int average) {
        this.average = average;
    }

    public double getVariance() {
        return variance;
    }

    public void setVariance(double variance) {
        this.variance = variance;
    }

    public String getHeartRateValue() {
        return heartRateValue;
    }

    public void setHeartRateValue(String heartRateValue) {
        this.heartRateValue = heartRateValue;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Double getHour() {
        return hour;
    }

    public void setHour(Double hour) {
        this.hour = hour;
    }

    public int getVtrend() {
        return Vtrend;
    }

    public void setVtrend(int vtrend) {
        Vtrend = vtrend;
    }

    public int getAtrend() {
        return Atrend;
    }

    public void setAtrend(int atrend) {
        Atrend = atrend;
    }

    public int getArate() {
        return Arate;
    }

    public void setArate(int arate) {
        Arate = arate;
    }

    public int getStatusId() {
        return statusId;
    }

    public void setStatusId(int statusId) {
        this.statusId = statusId;
    }

    public String getSuggestion() {
        return suggestion;
    }

    public void setSuggestion(String suggestion) {
        this.suggestion = suggestion;
    }

    @Override
    public String toString() {
        return "HeartRateVo{" +
                "userId=" + userId +
                ", average=" + average +
                ", variance=" + variance +
                ", heartRateValue='" + heartRateValue + '\'' +
                ", beginTime=" + beginTime +
                ", endTime=" + endTime +
                ", hour=" + hour +
                ", Vtrend=" + Vtrend +
                ", Atrend=" + Atrend +
                ", Arate=" + Arate +
                ", statusId=" + statusId +
                ", suggestion='" + suggestion + '\'' +
                '}';
    }
}
